package com.wn32.main.demo13;

import java.lang.reflect.Proxy;

public class Main {
    public static void main(String[] args) {
        ClassLoader classLoader = Main.class.getClassLoader();
        ProductMapper productMapper = (ProductMapper) Proxy.newProxyInstance(classLoader, new Class[]{ProductMapper.class}, new MyHandler());
        productMapper.deleteById();
    }
}
